package by.grsu.transport.persistence.entity;

import java.sql.Date;


public class UserEntity {
	
	private int id;
	private String firstName;
	private String lastName;
	private int role;
	private String login;
	private String password;
	private Date registrationDate;
	private Boolean isLocked;
	
	public UserEntity() {}

	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role=role;
	}
	public Date getRegistrationDate() {
		return registrationDate;
	}
	public void setRegistrationDate(Date registrationDate){
		this.registrationDate = registrationDate;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login){
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Boolean getIsLocked() {
		return isLocked;
	}
	public void setIsLocked(Boolean isLocked) {
		this.isLocked = isLocked;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}	

}
